#!/bin/bash

g++ -Wall -o ok-cvrp main.cpp Config.cpp Customer.cpp Customers.cpp Depot.cpp Parser.cpp Point.cpp CVRP.cpp 
for i in in/* 
do
	echo ${i} 
	./ok-cvrp -i ${i} -t $1  >out/tmpout
	cat out/tmpout
	wine sprawdzarka/chkcvrp.exe ${i} out/tmpout
	echo "================"
done
	echo "Razem:"
	ls ./in | wc -l
